﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace Utility2DLibrary
{
    public class MassPoint : Point
    {
        protected float m;
        [ContentSerializerIgnore]
        public float Mass
        {
            get { return m; }
            set { m = value; }
        }
        public MassPoint() : base()
        {
            m = -1;
        }
        public MassPoint(float xPos, float yPos, float pointMass): base(xPos, yPos)
        {
            m = pointMass;
        }
        public MassPoint(Point point, float Mass): base(point)
        {
            this.m = Mass;
        }
        public MassPoint(MassPoint point) : base(point)
        {
            this.m = point.Mass;
        }
    }
}
